<template>
  <div>
    <h3>Child组件</h3>
  </div>
</template>

<script>
import {myMixin} from '../mixins'
export default {
  name: 'Child',
  mixins: [myMixin],
  data () {
    return {
      b: 3
    }
  },

  methods: {
    test () {
      console.log('Child test')
    }
  },

  mounted () {
    this.test()
  }
}
</script>

<style scoped>

</style>
